<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>jQuery入门</title>
</head>
<body>
    <script>
        $(function(){
            alert('我现在要开始学习jQuery!')
        });

        //当DOM文档载入完成后执行函数
        $(document).ready(()=>{
            alert("Hello jQuery!");
        });

    </script>
</body>
</html>